flash_versions = 10; var flash = new Object(); flash.installed=false; flash.version='0.0'; if (navigator.plugins && navigator.plugins.length) { for (x=0; x < navigator.plugins.length; x++) { if (navigator.plugins[x].name.indexOf('Shockwave Flash') != -1) { flash.version = navigator.plugins[x].description.split('Shockwave Flash ')[1]; flash.installed = true; break; } } } else if (window.ActiveXObject) { for (x = 2; x <= flash_versions; x++) { try { oFlash = eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash." + x + "');"); if(oFlash) { flash.installed = true; flash.version = x + '.0'; } } catch(e) {} } } flash.ver = Array(); for(i = 4; i <= flash_versions; i++) { eval("flash.ver[" + i + "] = (flash.installed && parseInt(flash.version) >= " + i + ") ? true : false;"); } var testcookie = false; document.cookie = "TemporaryTestCookie=yes; path=/"; if(document.cookie.length > 0) { var cookiename = "TemporaryTestCookie="; var cookiebegin = document.cookie.indexOf(cookiename); var cookieend = 0; if(cookiebegin > -1) { cookiebegin += cookiename.length; cookieend = document.cookie.indexOf(";",cookiebegin); if(cookieend < cookiebegin) cookieend = document.cookie.length; testcookie = document.cookie.substring(cookiebegin,cookieend); } } if (testcookie == "yes") testcookie = true; else testcookie = false; document.write(""); document.write("aouka, le web comme outils"); document.write("");